/*  File Name	: DBRowName.h
 *  Author		: Pang Jiacai
 *	 E-mail		: 823960168@qq.com
 *  Created on	: 2012-9-11
 *  Description:
 */

#ifndef DBROWNAME_H_
#define DBROWNAME_H_
#include <string>

struct UsersRow
{
	static const std::string ACCOUNT;
	static const std::string PASSWD	;
	static const std::string NAME;
	static const std::string ROLE_ID;
	static const std::string SEX;
	static const std::string CHIPS;
	static const std::string ROOM;
	static const std::string TABLE;
};

///////////////////////////////////////////////////
struct NameKey
{
	static const std::string ACCOUNT;
	static const std::string ROLE_ID;
	static const std::string IP;
	static const std::string PORT;
};


//////////////////////////////////////////////////////////////
struct SQL
{
	static const std::string CREATE_LACCOUNT;
	static const std::string CREATE_GACCOUNT;
	static const std::string SAVE_ACCOUNT;
	static const std::string SAVE_CHIPS_RECORD;
	static const std::string SAVE_ROOM;
	static const std::string SAVE_TABLE;

	static const std::string CREATE_NAMEKEY;
};

///////////////////////////////////////////////////

#endif /* DBROWNAME_H_ */
